﻿
using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace Beauty.Module.Pos
{
	public partial class MiscVCtrl : UIViewController
	{
		public MiscVCtrl () : base ("MiscVCtrl", null)
		{
		}

		public override void DidReceiveMemoryWarning ()
		{
			// Releases the view if it doesn't have a superview.
			base.DidReceiveMemoryWarning ();
			
			// Release any cached data, images, etc that aren't in use.
		}

		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();
			btnPay.Layer.CornerRadius = 25.0f;
			ViewRightSite.Layer.CornerRadius = 5.0f;
			//ViewAddJobsheet.Layer.CornerRadius = 5.0f;
			ViewLeftSite.Layer.CornerRadius = 5.0f;
			tvEnterNote.Layer.CornerRadius = 5.0f;
			tvEnterNote.Layer.BorderWidth = 1.0f; 

			tvEnterNote.Text = "Enter Note"; // lots of text can go here
			tvEnterNote.Editable = true; 
			 
			//btn1.Layer.BorderWidth = 1.0f;
			btn1.Layer.CornerRadius = 5.0f;
			btn1.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn1.Layer.ShadowRadius = 1.0f;
			btn1.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn1.Layer.MasksToBounds = false;
			btn1.Layer.ShouldRasterize = true;
			btn1.Layer.ShadowOpacity = 1.0f;


			//btn2.Layer.BorderWidth = 1.0f;
			btn2.Layer.CornerRadius = 5.0f;
			btn2.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn2.Layer.ShadowRadius = 1.0f;
			btn2.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn2.Layer.MasksToBounds = false;
			btn2.Layer.ShouldRasterize = true;
			btn2.Layer.ShadowOpacity = 1.0f;


			//btn3.Layer.BorderWidth = 1.0f;
			btn3.Layer.CornerRadius = 5.0f;
			btn3.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn3.Layer.ShadowRadius = 1.0f;
			btn3.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn3.Layer.MasksToBounds = false;
			btn3.Layer.ShouldRasterize = true;
			btn3.Layer.ShadowOpacity = 1.0f;


			//btn4.Layer.BorderWidth = 1.0f;
			btn4.Layer.CornerRadius = 5.0f;
			btn4.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn4.Layer.ShadowRadius = 1.0f;
			btn4.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn4.Layer.MasksToBounds = false;
			btn4.Layer.ShouldRasterize = true;
			btn4.Layer.ShadowOpacity = 1.0f;


			//btn5.Layer.BorderWidth = 1.0f;
			btn5.Layer.CornerRadius = 5.0f;
			btn5.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn5.Layer.ShadowRadius = 1.0f;
			btn5.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn5.Layer.MasksToBounds = false;
			btn5.Layer.ShouldRasterize = true;
			btn5.Layer.ShadowOpacity = 1.0f;



			//btn6.Layer.BorderWidth = 1.0f;
			btn6.Layer.CornerRadius = 5.0f;
			btn6.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn6.Layer.ShadowRadius = 1.0f;
			btn6.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn6.Layer.MasksToBounds = false;
			btn6.Layer.ShouldRasterize = true;
			btn6.Layer.ShadowOpacity = 1.0f;



			//btn7.Layer.BorderWidth = 1.0f;
			btn7.Layer.CornerRadius = 5.0f;
			btn7.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn7.Layer.ShadowRadius = 1.0f;
			btn7.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn7.Layer.MasksToBounds = false;
			btn7.Layer.ShouldRasterize = true;
			btn7.Layer.ShadowOpacity = 1.0f;



			//btn8.Layer.BorderWidth = 1.0f;
			btn8.Layer.CornerRadius = 5.0f;
			btn8.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn8.Layer.ShadowRadius = 1.0f;
			btn8.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn8.Layer.MasksToBounds = false;
			btn8.Layer.ShouldRasterize = true;
			btn8.Layer.ShadowOpacity = 1.0f;


			//btn9.Layer.BorderWidth = 1.0f;
			btn9.Layer.CornerRadius = 5.0f;
			btn9.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn9.Layer.ShadowRadius = 1.0f;
			btn9.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn9.Layer.MasksToBounds = false;
			btn9.Layer.ShouldRasterize = true;
			btn9.Layer.ShadowOpacity = 1.0f;



			//btn0.Layer.BorderWidth = 1.0f;
			btn0.Layer.CornerRadius = 5.0f;
			btn0.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn0.Layer.ShadowRadius = 1.0f;
			btn0.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn0.Layer.MasksToBounds = false;
			btn0.Layer.ShouldRasterize = true;
			btn0.Layer.ShadowOpacity = 1.0f;
		


			//btn00.Layer.BorderWidth = 1.0f;
			btn00.Layer.CornerRadius = 5.0f;
			btn00.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btn00.Layer.ShadowRadius = 1.0f;
			btn00.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btn00.Layer.MasksToBounds = false;
			btn00.Layer.ShouldRasterize = true;
			btn00.Layer.ShadowOpacity = 1.0f;



			//btnDot.Layer.BorderWidth = 1.0f;
			btnDot.Layer.CornerRadius = 5.0f;
			btnDot.Layer.ShadowColor = UIColor.LightGray.CGColor;
			btnDot.Layer.ShadowRadius = 1.0f;
			btnDot.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			btnDot.Layer.MasksToBounds = false;
			btnDot.Layer.ShouldRasterize = true;
			btnDot.Layer.ShadowOpacity = 1.0f;



			//ivAdd.Layer.BorderWidth = 1.0f;
			ivAdd.Layer.CornerRadius = 5.0f;
			ivAdd.Layer.ShadowColor = UIColor.LightGray.CGColor;
			ivAdd.Layer.ShadowRadius = 1.0f;
			ivAdd.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			ivAdd.Layer.MasksToBounds = false;
			ivAdd.Layer.ShouldRasterize = true;
			ivAdd.Layer.ShadowOpacity = 1.0f;



			//ivClear1.Layer.BorderWidth = 1.0f;
			ivClear1.Layer.CornerRadius = 5.0f;
			ivClear1.Layer.ShadowColor = UIColor.LightGray.CGColor;
			ivClear1.Layer.ShadowRadius = 1.0f;
			ivClear1.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			ivClear1.Layer.MasksToBounds = false;
			ivClear1.Layer.ShouldRasterize = true;
			ivClear1.Layer.ShadowOpacity = 1.0f;



			//ivClearAll.Layer.BorderWidth = 1.0f;
			ivClearAll.Layer.CornerRadius = 5.0f;
			ivClearAll.Layer.ShadowColor = UIColor.LightGray.CGColor;
			ivClearAll.Layer.ShadowRadius = 1.0f;
			ivClearAll.Layer.ShadowOffset = new System.Drawing.SizeF (0.0f, 2.0f);
			ivClearAll.Layer.MasksToBounds = false;
			ivClearAll.Layer.ShouldRasterize = true;
			ivClearAll.Layer.ShadowOpacity = 1.0f;
			// Perform any additional setup after loading the view, typically from a nib.iv

			ivClear1.Image = PosUtility.ImageFrom ("MiscVCtrl_ic_clear");
			ivClearAll.Image = PosUtility.ImageFrom ("MiscVCtrl_ic_clearall");
			ivAdd.Image = PosUtility.ImageFrom ("MiscVCtrl_ic_add");
			ivAddJobsheet.Image = PosUtility.ImageFrom ("MiscVCtrl_ic_addjobsheet");
		}


	}
}

